package pl.edu.mimuw.irs.core.util;


/**
 * @author Jakub Rauch
 * Created on: 2009-05-08
 */
public class Position {
	
	// *** Attributes
	
	// Coordinates
	private int x;
	private int y;
	// Getters and setters
	public int getX() {
		return x;
	}
	public void setX(int x) {
		this.x = x;
	}
	public int getY() {
		return y;
	}
	public void setY(int y) {
		this.y = y;
	}
	
	// *** Methods
	
	public Position(int x, int y) {
		setX(x);
		setY(y);
	}
	
	public Position() {
		this(0, 0);
	}
	
	public Position copy() {
		return new Position(this.getX(), this.getY());
	}
}
